package mysql

import "gorm.io/gorm"

type Account struct {
	gorm.Model
	Img       string `gorm:"type:varchar(200);not null;comment:'头像'"`
	Name      string `gorm:"type:varchar(40);not null;comment:'昵称'"`
	Codes     string `gorm:"type:varchar(50);not null;comment:'编码'"`
	Sex       string `gorm:"type:varchar(4);not null;comment:'性别'"`
	Introduce string `gorm:"type:varchar(220);not null;comment:'介绍'"`
	UserId    int    `gorm:"type:int(11);not null;comment:'用户ID'"`
}
